﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
	x:Class="OmnipotentFlashlight.BackServer"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait" Style="{StaticResource TransitionPageStyle}"
	shell:SystemTray.IsVisible="True">

	<!--LayoutRoot 是放置所有页面内容的根网格-->
	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		
		<!--TitlePanel 包含应用程序名称和页面标题-->
		<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
			<TextBlock x:Name="ApplicationTitle" Text="多功能手电筒" Style="{StaticResource PhoneTextNormalStyle}"/>
		</StackPanel>

		<!--ContentPanel - 在此放置附加内容-->
		<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
			<TextBox x:Name="txt_content" Margin="22,34,20,328" TextWrapping="Wrap" Background="#BFFFFFFF"/>
			<Button Content="发送" Height="97" Margin="132,0,123,190" VerticalAlignment="Bottom" Background="#14FFFFFF" BorderBrush="#D8272727" Click="Button_Click"/>
			<TextBlock HorizontalAlignment="Right" Margin="0,0,-17,306" TextWrapping="Wrap" Text="（100个字以内）" VerticalAlignment="Bottom" Width="159" Foreground="#42FFFFFF" Height="22" FontSize="16"/>
		</Grid>
	</Grid>
</phone:PhoneApplicationPage>